package com.atguigu.gulistudy.auth.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author hnb
 * @version 1.0
 * @Description:
 * @date 2022/8/12 下午5:27
 */
@FeignClient("gulistudy-third-party")
public interface ThirdPartFeignService {
    @GetMapping(value = "/sms/sendCode")
    public R sendCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
